<%@ page import="sar.StudentCourse" %>



<div class="fieldcontain ${hasErrors(bean: studentCourseInstance, field: 'programCourse', 'error')} required">
	<label for="programCourse">
		<g:message code="studentCourse.programCourse.label" default="Program Course" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="programCourse" name="programCourse.id" from="${sar.ProgramCourse.list()}" optionKey="id" required="" value="${studentCourseInstance?.programCourse?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: studentCourseInstance, field: 'student', 'error')} required">
	<label for="student">
		<g:message code="studentCourse.student.label" default="Student" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="student" name="student.id" from="${sar.Student.list()}" optionKey="id" required="" value="${studentCourseInstance?.student?.id}" class="many-to-one"/>
</div>

